<?php  				
// 错误信息
	
?>
<form id="pagerForm" method="post" action="<?=site_url($this->uri->uri_string())?>">
	<input type="hidden" name="pageNum" value="1" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
	<input type="hidden" name="orderDirection" value="${param.orderDirection}" />
</form>


<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="<?=site_url('manage/admin_link/adds/')?>" target="navTab"><span>添加</span></a></li>
			<li class="line">line</li>
			<li><a class="add" href="<?=site_url('manage/admin_link')?>" target="navTab"><span>查看全部</span></a></li>
		</ul>
	</div>
	<table class="table" width="1000" layoutH="77">
		<thead>
			<tr>
				<th width="22"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
				<th >标题</th>
				<th width="50">排序</th>
				<th width="100">URL</th>
				<th width="150" align="center">创建时间</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			<?php foreach ($lists as $value) :?>
			<tr target="sid_user" rel="<?=$value['id']?>">
				<td><input name="ids" value="<?=$value['id']?>" type="checkbox"></td>
				<td><?=$value['title']?></td>
				<td><?=$value['order']?></td>
				<td><?=$value['url']?></td>
				<td><?=date("Y-m-d h:i", $value['addtime'])?></td>
				<td>
					<a title="删除" target="ajaxTodo" href="<?=site_url('manage/admin_link/delete/'.$value['id'])?>" class="btnDel">删除</a>
					<a title="编辑" target="navTab" href="<?=site_url('manage/admin_link/edits/'.$value['id'])?>" class="btnEdit">编辑</a>
				</td>
			</tr>
			<?php endforeach;?>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>18/<?=$totalCount?></span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="<?=$totalCount?>" pageNumShown="10" currentPage="<?=$currentPage?>"></div>

	</div>
</div>
